//
//  NewsSummaryInfo.m
//  ReadMoon
//
//  Created by 殷殷明静 on 16/9/27.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "NewsSummaryInfo.h"

@implementation NewsSummaryInfo
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
   
    if ([key isEqualToString:@"newsImageInfoList"]) {
        NSMutableArray <NewsImageInfo *>*arr = [NSMutableArray array];
        
        for (NSDictionary *dic in value) {
            NewsImageInfo *newsInfo = [NewsImageInfo modelWithDic:dic];
            [arr addObject:newsInfo];
            
        }
        _newsImageInfoList = arr;
    }
    
    
    
}
@end
